package com.hailong.zyt.service;

import com.hailong.zyt.beans.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.ui.Model;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hailong
 * @since 2021-05-17
 */
public interface CourseService extends IService<Course> {

    /**
     * 获取当前时间能选的课
     * */
    List<Course> getOptionalCourses(Long stuId) throws ParseException;

    /**
     * 获取课程成绩统计
     * 信息封装在Model中
     * */
    void getGradeList(Model model, Long couId, Long teaId);

}
